<?php defined('_JEXEC') or die();

require_once dirname(__FILE__) . DS . 'helper.php';
$document = &JFactory::getDocument();
$mainframe = &JFactory::getApplication(); 
$params = $mainframe->getParams('com_nbeventmap');
$list = ModNetbaseMapHelper::getMaps();
$rows = ModNetbaseMapHelper::getDatas();
		$row_dates = array();
		foreach ($rows as $row_date) {
			$row_dates[] = $row_date->start_dates;
		}
		$row_dates = array_unique($row_dates);

require(JModuleHelper::getLayoutPath('mod_nbeventmap'));
